]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/app: Add new get_icon() method
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 30 Jun 2020 14:53:50 +0000 (16:53 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 1 Jul 2020 10:42:57 +0000 (12:42 +0200)
commit86b5a43008aa5afad6bfefe5542f048de226e575
treeb2fabfdc5e13b8369ef8083b0579ee6246ef42e4
parentd7cb2eeebcced0c0af43453e81ce5a7c14dcb4c4
shell/app: Add new get_icon() method

Now that we can always associate a GIcon with the app, add a method
to access it. While create_icon_texture() is still likely to be more
convenient in most cases, exposing the icon can still be useful, for
example to add it to a different kind of actor or to compare it with
other GIcons.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1342
src/shell-app.c
src/shell-app.h